Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Arnold Quettumigenoopsi 1.Nov.02 04:31 PM Lotus Notes
Domino Designer 6.0 All Platforms


Here's a rather involved wish...

The problem is this. Imagine you have 40+ lotusscript script libraries, each containing a lotusscript class. There's a "main" factory class, which loads them all. 15,000 lines or so of lotusscript library takes a *long* time to load - between 10-40 seconds on an "average" machine. Compiling takes even longer. (Please, allow us to switch off the compiler when we press <ESC> from the lotusscript editor ! Or at least only compile when we want to !)

Okay - we're worked around it by using "Dynamic Loading" - writing self-modifying lotusscript code which loads on demand. However, you loose all that lovely strong type checking. Its kinda funky, it does work. Is it "vanilla" ? No.

So...

(Still with me ? Dont worry - it wont take too much longer!).

Now when I load an LSX library, I can put a "*" in front of the name:
use "*idm.dll"
for instance, and the compiler will use it for (some limited) typechecking. And more importantly, the client wont load it till it needs it. If it cant find it, it'll throw a particular run-time error, which I can trap. Good.

So - can we have this for general lotusscript libraries as well ? Can we put:

use "*myScriptLib"

and only (at run time) have the library loaded if its referenced ?

Okay - this is not a trivial request. But it would allow faster user interaction, stronger type checking, etc, etc. How many other people would find this useful ? Anyone else out there writing HUGE lotusscript applications ?

Is it in there already ? (That'd be sneaky, eh ?)

Whaddaythink ?

Cheers

---* Bill
http://www.billbuchan.com






Lotusscript "optional-loading" of c... (~Chris Refreesk... 1.Nov.02)
. . RE: Lotusscript "optional-loading" ... (~Mary Chuaberg 1.Nov.02)
. . . . Thanks for that! (~Chris Refreesk... 2.Nov.02)
. . Dynamic loading of class libraries ... (~Yoshi Asagerot... 5.Nov.02)
. . Dynamic loading? How? (~Julia Lopnuade... 1.Jun.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS